package com.c1802.entity;

public class Leave_Word {
    public int id;
    public String user_name;
    public String user_img;
    public String comment;
    public int endorse;

    public Leave_Word() {
    }

    public Leave_Word(int id, String user_name, String user_img, String comment, int endorse) {
        this.id = id;
        this.user_name = user_name;
        this.user_img = user_img;
        this.comment = comment;
        this.endorse = endorse;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getUser_img() {
        return user_img;
    }

    public void setUser_img(String user_img) {
        this.user_img = user_img;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public int getEndorse() {
        return endorse;
    }

    public void setEndorse(int endorse) {
        this.endorse = endorse;
    }

    @Override
    public String toString() {
        return "Leave_Word{" +
                "id=" + id +
                ", user_name='" + user_name + '\'' +
                ", user_img='" + user_img + '\'' +
                ", comment='" + comment + '\'' +
                ", endorse=" + endorse +
                '}';
    }
}
